<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>about</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <!-- <link rel="stylesheet" type="text/css" href="../../css/main.css" /> -->
    <style>
        body {
            background-color: #ffffff;
        }
        .about_box {
            width: 70px;
            height: 70px;
            background: url('../../image/logo.png');
            margin: 0 auto;
            margin-top: 19px;
            background-size: contain;
        }
        .about_text {
            padding: 25px 12px 0px 22px;
            font-size: 14px;
            color: #666666;
            font-family: PingFang-SC-Medium;
            font-weight: 500;
            line-height: 25px;
        }
    </style>
</head>

<body>
    <div id="vm">
        <div class="about_text" v-html="aboutus">
        </div>
    </div>

</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/config.js"></script>
<script type="text/javascript" src="../../script/rest.js"></script>
<script type="text/javascript" src="../../script/vue.2.5.js"></script>
<script type="text/javascript" src="../../script/zepto.js"></script>
<script type="text/javascript" src="../../script/faskclick.js"></script>
<script type="text/javascript">
    var vm = new Vue({
        el: '#vm',
        data: {
            aboutus: ''
        },
        created: function() {
            var _this = this;
            apiready = function() {
                _this.init();
                api.parseTapmode();
                if ('addEventListener' in document) {
                    document.addEventListener('DOMContentLoaded', function() {
                        FastClick.attach(document.body);
                    }, false);
                }
            }
        },
        methods: {
            init: function() {
                var _this = this;
                new rest().get('getAboutus').datae().success(function(res) {
                    if (res.flag == 1) {
                        _this.aboutus = res.msg.content;
                    } else {
                        _this.aboutus = '暂无数据';
                    }
                    console.log(JSON.stringify(res))
                }).error(function(err) {
                    console.log(JSON.stringify(err))
                }).run()

            },

        }
    })
</script>

</html>
